package com.itheima.search.domain;

import com.itheima.search.enums.NewsStatus;
import lombok.Data;

/**
 * 新闻管理对象 tb_news
 *
 * @author yangjianlin
 * @date 2025-02-10
 */
@Data
public class News {

    private Long newsId;


    private String title;

    private Integer typeId;

    private String content;

    private Integer delayTime;

    private String source;

    /**
     * NORMAL: 0 正常
     * DELAY_PUBLISH: 1 延迟发布
     * PUBLISH: 2 发布
     * DELETED: 3 删除
     */
    private NewsStatus status;

    private Long noticeId;
}
